﻿@model string[]
@using System.Web.Helpers;
@{
    ViewBag.Title = "Video";
}
<h2>
    Videos</h2>
<center>
    @foreach (var item in Model)
    {
        <a href="@item)">Click To Download Video.</a>
        <div>
            <object width="600" height="409">
                <param name="movie" value="../../FlashMediaPlayback.swf"></param>
                <param name="flashvars" value="src=@Url.Encode(@item)"></param>
                <param name="allowFullScreen" value="true"></param>
                <param name="allowscriptaccess" value="always"></param>
                <embed src="../../FlashMediaPlayback.swf" 
            type="application/x-shockwave-flash" 
            allowscriptaccess="always" 
            allowfullscreen="true" width="600" height="409" 
            flashvars="src=@Url.Encode(item)">
            </embed>
            </object>
        </div>
    }
</center>
